home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Human Interface Toolbox / Calculator / EnterButton.m < prev    next >
Encoding:
Text File  |  2000-10-06  |  1.0 KB  |  35 lines

  1. /*
  2.     File:       EnterButton.m
  3.  
  4.     Contains:   xxx
  5.  
  6.     Written by: Andy Wildenberg
  7.  
  8.     Created:    Wed 09-Jul-1997
  9.  
  10.     Copyright:  (c)1997 by Apple Computer, Inc., all rights reserved.
  11.  
  12.     Change History (most recent first):
  13.                     7/5/00    KG    Updated for Project Builder on DP4
  14.                     
  15.     You may incorporate this sample code into your applications without
  16.     restriction, though the sample code has been provided "AS IS" and the
  17.     responsibility for its operation is 100% yours.  However, what you are
  18.     not permitted to do is to redistribute the source as "DSC Sample Code"
  19.     after having made changes. If you're going to re-distribute the source,
  20.     we require that you make it clear in the source that the code was
  21.     descended from Apple Sample Code, but that you've made changes.
  22. */
  23.  
  24. /* EnterButton.m created by me on Thu 03-Jul-1997 */
  25.  
  26. #import "EnterButton.h"
  27.  
  28. @implementation EnterButton
  29.  
  30. -(void) awakeFromNib
  31. {
  32.     [self setKeyEquivalent: [NSString stringWithFormat: @"%c",3]];
  33. }
  34. @end
  35.